import request from '@/utils/request'

// 获取数据字典列表(分类+内容)
export function getDictionary(dictionaryTypeEncode) {
  return request({
    url: `/api/system/DictionaryData/enCode/${dictionaryTypeEncode}/Data/Selector`,
    method: "GET",
  });
}

// 获取数据字典列表
export function getDictionaryDataList(typeId, data) {
  return request({
    url: `/api/system/DictionaryData/${typeId}`,
    method: "GET",
    data,
  });
}